import React, { Component } from 'react'
import styles from './input.module.css'

class Input extends Component {
  render() {
    return (
      <input className={['needsclick', styles.input].join(' ')} ref="input" {...this.props} />
    )
  }
}

Input.defaultProps = {
  type: 'text',
}

export default Input